package Decorator_Pattern.Coffee;

// -*-coding:utf-8 -*-
//人员：刘陆鑫
//班级：19软3
//学号；2019110218
public class Milk extends Mixed{
    public Milk(Coffee coffee){
        super(coffee);
    }

    @Override
    public double display() {

       return super.display()+this.addMilk();

    }
    public double addMilk(){
        return 6;
    }
}
